package com.wlz.servlet;

import com.wlz.ResponseUtils;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.FullHttpResponse;
import io.netty.handler.codec.http.HttpResponseStatus;

public class BatServlet1 implements HttpServlet {
    @Override
    public FullHttpResponse get(FullHttpRequest request) {
        String context = "BatServlet1 get:" + ResponseUtils.getResult();
        return send(context, HttpResponseStatus.OK);
    }

    @Override
    public FullHttpResponse post(FullHttpRequest request) {
        String context = "BatServlet1 post" + ResponseUtils.getResult();
        return send(context, HttpResponseStatus.OK);
    }
}
